package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SubscribeRecords对象", description="")
public class SubscribeRecords implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "端类型 1为小程序端  2为公众号端")
    private Integer appType;

    @ApiModelProperty(value = "消息类型")
    private String messageType;

    @ApiModelProperty(value = "商品uuid或其它uuid")
    private String targetUuid;

    @ApiModelProperty(value = "消息内容")
    private String options;

    @ApiModelProperty(value = "处理时间")
    private Date handleAt;

    @ApiModelProperty(value = "状态：0为未发送、1为成功发送、2为发送失败")
    private Integer status;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
